package com.framework.component.resolver.test.model;

import com.framework.component.resolver.Resolver;
import com.framework.component.resolver.model.BusinessModel;
import com.framework.component.resolver.test.dept.DeptResolver;
import com.framework.component.resolver.test.vo.Dept;
import com.framework.component.resolver.test.vo.Warehouse;
import com.framework.component.resolver.test.warehouse.WarehouseResolver;
import lombok.Builder;
import lombok.Getter;
import lombok.extern.jackson.Jacksonized;

@Getter
@Builder
@Jacksonized
public class BusinessDomainContext implements BusinessModel {

    @Resolver(DeptResolver.class)
    private Dept dept;

    @Resolver(WarehouseResolver.class)
    private Warehouse warehouse;
}
